package com.wiscamp.ninechapters.problems.domain.models.reports;

import com.wiscamp.ninechapters.problems.domain.models.problems.problems.KnowledgePointName;
import com.wiscamp.ninechapters.tags.domain.models.TagName;
import cube.ddd.domain.Entity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.ArrayList;
import java.util.Collection;

@Data
@EqualsAndHashCode
public class ReportProblem implements Entity {

    private int problemIndex = 0;

    private long problemId = 0;

    private String problemTypeName = "";

    private int difficulty = 0;

    private long stemId = 0;

    private String stemHypertext = "";

    private double problemGainScore = 0;

    private boolean correct = false;

    private boolean skipped = false;

    private Collection<ReportQuestion> reportQuestions = new ArrayList<>();

    /**
     * 题关联标签名称列表
     */
    private Collection<TagName> tagNames = new ArrayList<>();

    private Collection<KnowledgePointName> primaryKnowledgePointNames = new ArrayList<>();

    private Collection<KnowledgePointName> minorKnowledgePointNames = new ArrayList<>();
}
